import { RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/mirror-manage',
    component: () => import('@/views/online-lab/model-training/index.vue'),
    meta: { title: '镜像管理' },
    redirect: '/mirror-manage/default-mirror/list',
    children: [
      {
        path: '/mirror-manage/default-mirror/list',
        component: () => import('@/views/online-lab/mirror-manage/default-mirror/list/index.vue')
      },
      {
        path: '/mirror-manage/custom-mirror/list',
        component: () => import('@/views/online-lab/mirror-manage/custom-mirror/list/index.vue')
      },
      {
        path: '/mirror-manage/custom-mirror/repository-manage/list',
        component: () => import('@/views/online-lab/mirror-manage/custom-mirror/repository-manage/list/index.vue')
      }
    ]
  }
]

export default routes
